package com.sf.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 集货团信息Entity类
 * 该类与数据库中的表pca_collect_info对应 
 * 
 * @author 604625
 */
public class CollectInfo implements Serializable {
    private Integer id;

    private String mktId;

    private Date startTm;

    private Date endTm;

    private Byte status;

    private String type;

    private String name;

    private Double minMail;

    private Double minPkg;

    private Double maxPkg;

    private String minPriceNote;

    private String imgUrl;

    private Integer needNum;

    private Integer curNum;

    private String note;

    private String createEmp;

    private Date createTm;

    private String useCycle;

    private String userdef1;

    private String userdef2;

    private String userdef3;

    private String userdef4;
    
    

    private Long endTmLong;
    
    private List<String> imgs;
    

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMktId() {
        return mktId;
    }

    public void setMktId(String mktId) {
        this.mktId = mktId == null ? null : mktId.trim();
    }

    public Date getStartTm() {
        return startTm;
    }

    public void setStartTm(Date startTm) {
        this.startTm = startTm;
    }

    public Date getEndTm() {
        return endTm;
    }

    public void setEndTm(Date endTm) {
        this.endTm = endTm;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getMinMail() {
        return minMail;
    }

    public void setMinMail(Double minMail) {
        this.minMail = minMail;
    }

    public Double getMinPkg() {
        return minPkg;
    }

    public void setMinPkg(Double minPkg) {
        this.minPkg = minPkg;
    }

    public Double getMaxPkg() {
        return maxPkg;
    }

    public void setMaxPkg(Double maxPkg) {
        this.maxPkg = maxPkg;
    }

    public String getMinPriceNote() {
        return minPriceNote;
    }

    public void setMinPriceNote(String minPriceNote) {
        this.minPriceNote = minPriceNote == null ? null : minPriceNote.trim();
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public Integer getNeedNum() {
        return needNum;
    }

    public void setNeedNum(Integer needNum) {
        this.needNum = needNum;
    }

    public Integer getCurNum() {
        return curNum;
    }

    public void setCurNum(Integer curNum) {
        this.curNum = curNum;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    public String getCreateEmp() {
        return createEmp;
    }

    public void setCreateEmp(String createEmp) {
        this.createEmp = createEmp == null ? null : createEmp.trim();
    }

    public Date getCreateTm() {
        return createTm;
    }

    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }

    public String getUseCycle() {
        return useCycle;
    }

    public void setUseCycle(String useCycle) {
        this.useCycle = useCycle == null ? null : useCycle.trim();
    }

    public String getUserdef1() {
        return userdef1;
    }

    public void setUserdef1(String userdef1) {
        this.userdef1 = userdef1 == null ? null : userdef1.trim();
    }

    public String getUserdef2() {
        return userdef2;
    }

    public void setUserdef2(String userdef2) {
        this.userdef2 = userdef2 == null ? null : userdef2.trim();
    }

    public String getUserdef3() {
        return userdef3;
    }

    public void setUserdef3(String userdef3) {
        this.userdef3 = userdef3 == null ? null : userdef3.trim();
    }

    public String getUserdef4() {
        return userdef4;
    }

    public void setUserdef4(String userdef4) {
        this.userdef4 = userdef4 == null ? null : userdef4.trim();
    }

    public Long getEndTmLong() {
		return endTmLong;
	}

	public void setEndTmLong(Long endTmLong) {
		this.endTmLong = endTmLong;
	}

	public List<String> getImgs() {
		return imgs;
	}

	public void setImgs(List<String> imgs) {
		this.imgs = imgs;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", mktId=").append(mktId);
        sb.append(", startTm=").append(startTm);
        sb.append(", endTm=").append(endTm);
        sb.append(", status=").append(status);
        sb.append(", type=").append(type);
        sb.append(", name=").append(name);
        sb.append(", minMail=").append(minMail);
        sb.append(", minPkg=").append(minPkg);
        sb.append(", maxPkg=").append(maxPkg);
        sb.append(", minPriceNote=").append(minPriceNote);
        sb.append(", imgUrl=").append(imgUrl);
        sb.append(", needNum=").append(needNum);
        sb.append(", curNum=").append(curNum);
        sb.append(", note=").append(note);
        sb.append(", createEmp=").append(createEmp);
        sb.append(", createTm=").append(createTm);
        sb.append(", useCycle=").append(useCycle);
        sb.append(", userdef1=").append(userdef1);
        sb.append(", userdef2=").append(userdef2);
        sb.append(", userdef3=").append(userdef3);
        sb.append(", userdef4=").append(userdef4);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}